Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / users / {id} / consents

List set of consents granted by this user.

Path parameters:
realm - realm name (not id!)
id -

Sub-Resources
Resources
NameDescription
{client}Revoke consent for particular client

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/users/{id}/consentsList set of consents granted by this user.

Method Detail

GET /admin/realms/{realm}/users/{id}/consents

List set of consents granted by this user.

HTTP Example:
GET /admin/realms/{realm}/users/{id}/consents
API Example:

UsersResource.getConsents({'realm': /* name realm name (not id!) */,
  'id': /* id */});

Output:
List<UserConsentRepresentation> -
Produces:
application/json

Keycloak REST Services 1.5.0-Final